<template>
	<view class="protocol" v-html="protocolHtml">
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				protocolHtml:''
			};
		},
		created() {
			this.getProtocol()
		},
		methods:{
			getProtocol(){
				this.protocolHtml = ''
				uni.request({
				    url:this.$Url +'/index.php/App/Single/UserAgreement',
				    method:'POST',
				    data:{
				       
				    },
				    header:{
				        "token":uni.getStorageSync('token')
				    },
				    success: (res) => {
				       this.protocolHtml = res.data.data.content
					   console.log(res)
				    }
				})
			}
		}
	}
</script>

<style lang="scss">
.protocol{
	padding: 0 30upx;
}
</style>
